import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';

import { QuestionRoutingModule } from './question-routing.modules';
import { RoleModule } from '../roles/role.module';

import { QuestionService } from './service/question.service';

import { QuestionInsertComponent } from './modify/question-insert.component';
import {QuestionListComponent} from "./question-list.component";
import {QuestionModifyComponent} from "./modify/question-modify.component";
import {KnowledgeService} from "../knowledge/services/knowledge.service";
import {PopupService} from "@shared/popup/popup.service";
import {KnowledgeModifyComponent} from "./modify/knowledge-modify.component";
import {NzDrawerCustomComponent} from './modify/nz-drawer-custom-component';

@NgModule({
  imports: [
    SharedModule,
    QuestionRoutingModule,
    RoleModule
  ],
  declarations: [
    QuestionInsertComponent,
    QuestionListComponent,
    QuestionModifyComponent,
    KnowledgeModifyComponent,
    NzDrawerCustomComponent
  ],
  providers: [
    PopupService,
    QuestionService,
    KnowledgeService
  ],
  entryComponents: [
    QuestionModifyComponent,
    KnowledgeModifyComponent,
    NzDrawerCustomComponent
  ]
})

export class QuestionModule {}
